<?php
class ui_index_tee_title extends ui {
	public function __construct($S, $param) {
		parent::__construct();
		
		$param['circle_id']	= intval($param['circle_id']);
		
		if ($param['circle_id']) {
			$data_circle = new data_circle();
			$circle = $data_circle->one($this->uid, $param['circle_id']);
			$S->assign('circle', $circle);
			$circle_access = $data_circle->get_access($this->uid, $param['circle_id']);	// follower / member / admin / founder / FALSE
			$S->assign('circle_access', $circle_access);
		}
	}
}
?>
